import { createApp } from 'vue';
import router from '@/router';
import '../packages/index';
// import ZKZUI from 'zkz-testui';
// import '../node_modules/zkz-testui/dist/zkz-testui.css';
import '@/assets/css/globla.css';
import App from './App.vue';
import hljs from 'highlight.js';
import 'highlight.js/styles/color-brewer.css';
const app = createApp(App);
// app.use(ZKZUI);
app.use(router);
// 定义一个全局指令
app.directive('highlight', function(el) {
	let blocks = el.querySelectorAll('pre code');
	blocks.forEach((block) => {
		hljs.highlightBlock(block);
	});
});
app.mount('#app');
